package com.lysj.food.food.domain;

import com.lysj.admin.utils.spring.foundation.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * @author Created by wtl on 2019-04-01 14:31
 * @description 菜品称重
 */
@Data
@Entity
@EqualsAndHashCode(callSuper = true)
@Table(name = "lysj_food_weigh_food")
public class WeighFood  extends BaseEntity {

    private String orderItemId; // 子订单id

    private String storeId; // 门店id

    @Column(columnDefinition = "decimal(10,2)")
    private BigDecimal unitPrice; // 单价
    private String weight; // 菜品重量
    private Integer type; // 状态，1：待称重，2：已称重



}
